< previous page page_378 next page >

Page 378
12181-0378a.gif
Figure 14.2.
Adding Web access by using the Application Wizard.
When you add Web access, the wizard actually inserts the engine for a Web browser into the new application. The browser control has several properties, methods, and events that you'll make consistent use of, as described in Table 14.1. Table 14.1 by no means lists the entire set of elements for the browser control; however, very little documentation can be found on how to use this and other included controls.
TABLE 14.1. THE INTERNET BROWSER'S MOST USED ELEMENTS.
NameDescription
Properties
LocationURLContains the URL for the displayed or requested Web page
LocationNameContains the defined name of the displayed Web page
BusyReturns whether the browser engine is busy retrieving a Web page
Events
DownloadCompleteTriggered whenever a Web page retrieval is completed
NavigateCompleteTriggered whenever a new URL is entered
Methods
NavigateInforms the browser to go to the specified URL
StopStops the current browser action
GoBackNavigates to the previously displayed Web page
GoForwardNavigates to the next Web page that was already displayed
GoHomeNavigates to the defined home page
GoSearchUses the Microsoft search engine to initiate an Internet search
RefreshRefreshes the Web page now displayed

 
< previous page page_378 next page >

If you like this book, buy it!